Colors

Salesforce (SLDS) uses a specific color palette to communicate meaning, convey visual differentiation, and provide a consistent look and feel. From neutrals to brights, each hue is chosen to fit into the overall visual language and promote a contemporary and vibrant user experience.

Neutrals

Salesforce uses cool-toned grays injected with a hint of blue to create a lively and modern mood for the interface. In general, color is used sparingly to keep the content center stage and not distract end users.

Primary Colors

Salesforce’s primary brand color is a bright, friendly blue. We also use some darker blues for various other use cases.

Secondary Colors

We use a broad range of secondary colors that complement the neutral and primary colors. The level of saturation is vibrant but not neon, mellow but not muted.

Usage

Visual Messaging

Certain colors have inherent meaning for a large majority of users, although we recognize that cultural differences are plentiful. For example, we use red to communicate an error.

Visual Differentiation

Salesforce uses many secondary colors in conjunction with iconography to visually differentiate between similar types of content, such as records of different object types. However, it’s important to not always rely on color to provide visual differentiation. If too many use cases employ color in this manner, the colors lose their meaning.

Visual Hierarchy

Color is used sparingly to draw attention to important elements and those that we want the user to take action on. Because most of the application is gray, pops of color catch a user’s eye.

Accessibility

It’s important that our products meet all web accessibility standards, including the minimum contrast ratios that the WCAG 2.0 specifies for text and background color combinations. This adherence helps users who are colorblind or have low vision to better interact with Salesforce, but it also improves usability and readability for all users.

You can find some of the most common text and background color combinations in the CSS Framework Themes section. They are all vetted to pass the minimum contrast ratios, including both normal text and link text styles.